package com.tiantian.app.data.mo;

import org.json.JSONObject;

import com.infindo.frame.data.mo.MoliscMessage;
 
/**
 * 登陆结果类
 * @author colky
 *
 */

public class LoginResult extends MoliscMessage{

    /**
	 * 
	 */
	private static final long serialVersionUID = 5021191566650659471L;


    /**登陆结果消息：参考EnumConstant.MessageCode**/
    private String result;
    /**服务器当前时间，用以和客户端校准时间，格式：DateUtil.FORMAT_MOBILE(yyyy-MM-dd HH:mm:ss Z)**/
    private String time;
    


    /**如果客户端的版本号小于服务器版本，则返回当前服务器版本，否则返回默认值0**/
    private Integer newVersion;
    
    /**如果有新版本，则返回下载地址，否则为空**/
    private String newVersionUrl;




    /**以下参考User表**/
    private UserObj userObj;


    public String getResult() {
        return result;
    }



    public void setResult(String result) {
        this.result = result;
    }



    public String getTime() {
        return time;
    }



    public void setTime(String time) {
        this.time = time;
    }



    public Integer getNewVersion() {
        return newVersion;
    }



    public void setNewVersion(Integer newVersion) {
        this.newVersion = newVersion;
    }



    public String getNewVersionUrl() {
        return newVersionUrl;
    }



    public void setNewVersionUrl(String newVersionUrl) {
        this.newVersionUrl = newVersionUrl;
    }



    public UserObj getUserObj() {
        return userObj;
    }



    public void setUserObj(UserObj userObj) {
        this.userObj = userObj;
    }



    @Override
    public void toObject(JSONObject jsonObj) {
        // TODO Auto-generated method stub
        
    }


 


	/* (non-Javadoc)
	 * @see com.infindo.frame.data.mo.MoliscMessage#toObject(org.json.JSONObject, java.lang.String)
	 */
	@Override
	public void toObject(JSONObject jsonObj, String cmsListParameters) {
		// TODO Auto-generated method stub
		
	}

    
}
